home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / PInterfaces / Editions.p < prev    next >
Encoding:
Text File  |  1998-08-17  |  15.3 KB  |  450 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        Editions.p
  3.  
  4.      Contains:    Edition Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1989-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. }
  17. {$IFC UNDEFINED UsingIncludes}
  18. {$SETC UsingIncludes := 0}
  19. {$ENDC}
  20.  
  21. {$IFC NOT UsingIncludes}
  22.  UNIT Editions;
  23.  INTERFACE
  24. {$ENDC}
  25.  
  26. {$IFC UNDEFINED __EDITIONS__}
  27. {$SETC __EDITIONS__ := 1}
  28.  
  29. {$I+}
  30. {$SETC EditionsIncludes := UsingIncludes}
  31. {$SETC UsingIncludes := 1}
  32.  
  33. {$IFC UNDEFINED __MACTYPES__}
  34. {$I MacTypes.p}
  35. {$ENDC}
  36. {$IFC UNDEFINED __MIXEDMODE__}
  37. {$I MixedMode.p}
  38. {$ENDC}
  39. {$IFC UNDEFINED __FILES__}
  40. {$I Files.p}
  41. {$ENDC}
  42. {$IFC UNDEFINED __ALIASES__}
  43. {$I Aliases.p}
  44. {$ENDC}
  45. {$IFC UNDEFINED __DIALOGS__}
  46. {$I Dialogs.p}
  47. {$ENDC}
  48.  
  49.  
  50. {$PUSH}
  51. {$ALIGN MAC68K}
  52. {$LibExport+}
  53.  
  54.  
  55. CONST
  56.                                                                 {  resource types   }
  57.     rSectionType                = 'sect';                        {  ResType of saved SectionRecords  }
  58.                                                                 {  Finder types for edition files  }
  59.     kPICTEditionFileType        = 'edtp';
  60.     kTEXTEditionFileType        = 'edtt';
  61.     ksndEditionFileType            = 'edts';
  62.     kUnknownEditionFileType        = 'edtu';
  63.     kPublisherDocAliasFormat    = 'alis';
  64.     kPreviewFormat                = 'prvw';
  65.     kFormatListFormat            = 'fmts';
  66.  
  67.                                                                 {  section types  }
  68.     stSubscriber                = $01;
  69.     stPublisher                    = $0A;
  70.  
  71.     sumAutomatic                = 0;                            {  subscriber update mode - Automatically      }
  72.     sumManual                    = 1;                            {  subscriber update mode - Manually  }
  73.     pumOnSave                    = 0;                            {  publisher update mode - OnSave             }
  74.     pumManual                    = 1;                            {  publisher update mode - Manually  }
  75.  
  76.     kPartsNotUsed                = 0;
  77.     kPartNumberUnknown            = -1;
  78.  
  79.     kPreviewWidth                = 120;
  80.     kPreviewHeight                = 120;
  81.  
  82.                                                                 {  bits for formatsMask  }
  83.     kPICTformatMask                = 1;
  84.     kTEXTformatMask                = 2;
  85.     ksndFormatMask                = 4;
  86.  
  87.  
  88.                                                                 {  pseudo-item hits for dialogHooks the first is for NewPublisher or NewSubscriber Dialogs  }
  89.     emHookRedrawPreview            = 150;                            {  the following are for SectionOptions Dialog  }
  90.     emHookCancelSection            = 160;
  91.     emHookGoToPublisher            = 161;
  92.     emHookGetEditionNow            = 162;
  93.     emHookSendEditionNow        = 162;
  94.     emHookManualUpdateMode        = 163;
  95.     emHookAutoUpdateMode        = 164;
  96.  
  97.  
  98.                                                                 {  the refcon field of the dialog record during a modalfilter or dialoghook contains one the following  }
  99.     emOptionsDialogRefCon        = 'optn';
  100.     emCancelSectionDialogRefCon    = 'cncl';
  101.     emGoToPubErrDialogRefCon    = 'gerr';
  102.  
  103.     kFormatLengthUnknown        = -1;
  104.  
  105. { one byte, stSubscriber or stPublisher }
  106.  
  107. TYPE
  108.     SectionType                            = SignedByte;
  109. { seconds since 1904 }
  110.     TimeStamp                            = UInt32;
  111. { similar to ResType }
  112.     FormatType                            = FourCharCode;
  113. { used in Edition I/O }
  114.     EditionRefNum                        = Handle;
  115. { update modes }
  116. { sumAutomatic, pumSuspend, etc }
  117.     UpdateMode                            = INTEGER;
  118.     SectionRecordPtr = ^SectionRecord;
  119.     SectionPtr                            = ^SectionRecord;
  120.     SectionHandle                        = ^SectionPtr;
  121.     SectionRecord = RECORD
  122.         version:                SignedByte;                                {  always 0x01 in system 7.0  }
  123.         kind:                    SectionType;                            {  stSubscriber or stPublisher  }
  124.         mode:                    UpdateMode;                                {  auto or manual  }
  125.         mdDate:                    TimeStamp;                                {  last change in document  }
  126.         sectionID:                LONGINT;                                {  app. specific, unique per document  }
  127.         refCon:                    LONGINT;                                {  application specific  }
  128.         alias:                    AliasHandle;                            {  handle to Alias Record  }
  129.         subPart:                LONGINT;                                {  which part of container file  }
  130.         nextSection:            SectionHandle;                            {  for linked list of app's Sections  }
  131.         controlBlock:            Handle;                                    {  used internally  }
  132.         refNum:                    EditionRefNum;                            {  used internally  }
  133.     END;
  134.  
  135.     EditionContainerSpecPtr = ^EditionContainerSpec;
  136.     EditionContainerSpec = RECORD
  137.         theFile:                FSSpec;
  138.         theFileScript:            ScriptCode;
  139.         thePart:                LONGINT;
  140.         thePartName:            Str31;
  141.         thePartScript:            ScriptCode;
  142.     END;
  143.  
  144.     EditionInfoRecordPtr = ^EditionInfoRecord;
  145.     EditionInfoRecord = RECORD
  146.         crDate:                    TimeStamp;                                {  date EditionContainer was created  }
  147.         mdDate:                    TimeStamp;                                {  date of last change  }
  148.         fdCreator:                OSType;                                    {  file creator  }
  149.         fdType:                    OSType;                                    {  file type  }
  150.         container:                EditionContainerSpec;                    {  the Edition  }
  151.     END;
  152.  
  153.     NewPublisherReplyPtr = ^NewPublisherReply;
  154.     NewPublisherReply = RECORD
  155.         canceled:                BOOLEAN;                                {  O  }
  156.         replacing:                BOOLEAN;
  157.         usePart:                BOOLEAN;                                {  I  }
  158.         filler:                    SInt8;
  159.         preview:                Handle;                                    {  I  }
  160.         previewFormat:            FormatType;                                {  I  }
  161.         container:                EditionContainerSpec;                    {  I/O  }
  162.     END;
  163.  
  164.     NewSubscriberReplyPtr = ^NewSubscriberReply;
  165.     NewSubscriberReply = RECORD
  166.         canceled:                BOOLEAN;                                {  O  }
  167.         formatsMask:            SignedByte;
  168.         container:                EditionContainerSpec;                    { I/O }
  169.     END;
  170.  
  171.     SectionOptionsReplyPtr = ^SectionOptionsReply;
  172.     SectionOptionsReply = RECORD
  173.         canceled:                BOOLEAN;                                {  O  }
  174.         changed:                BOOLEAN;                                {  O  }
  175.         sectionH:                SectionHandle;                            {  I  }
  176.         action:                    ResType;                                {  O  }
  177.     END;
  178.  
  179. {$IFC TYPED_FUNCTION_POINTERS}
  180.     ExpModalFilterProcPtr = FUNCTION(theDialog: DialogPtr; VAR theEvent: EventRecord; itemOffset: INTEGER; VAR itemHit: INTEGER; yourDataPtr: Ptr): BOOLEAN;
  181. {$ELSEC}
  182.     ExpModalFilterProcPtr = ProcPtr;
  183. {$ENDC}
  184.  
  185. {$IFC TYPED_FUNCTION_POINTERS}
  186.     ExpDlgHookProcPtr = FUNCTION(itemOffset: INTEGER; itemHit: INTEGER; theDialog: DialogPtr; yourDataPtr: Ptr): INTEGER;
  187. {$ELSEC}
  188.     ExpDlgHookProcPtr = ProcPtr;
  189. {$ENDC}
  190.  
  191.     ExpModalFilterUPP = UniversalProcPtr;
  192.     ExpDlgHookUPP = UniversalProcPtr;
  193.  
  194. CONST
  195.     uppExpModalFilterProcInfo = $0000FBD0;
  196.     uppExpDlgHookProcInfo = $00003EA0;
  197.  
  198. FUNCTION NewExpModalFilterProc(userRoutine: ExpModalFilterProcPtr): ExpModalFilterUPP;
  199.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  200.     INLINE $2E9F;
  201.     {$ENDC}
  202.  
  203. FUNCTION NewExpDlgHookProc(userRoutine: ExpDlgHookProcPtr): ExpDlgHookUPP;
  204.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  205.     INLINE $2E9F;
  206.     {$ENDC}
  207.  
  208. FUNCTION CallExpModalFilterProc(theDialog: DialogPtr; VAR theEvent: EventRecord; itemOffset: INTEGER; VAR itemHit: INTEGER; yourDataPtr: Ptr; userRoutine: ExpModalFilterUPP): BOOLEAN;
  209.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  210.     INLINE $205F, $4E90;
  211.     {$ENDC}
  212.  
  213. FUNCTION CallExpDlgHookProc(itemOffset: INTEGER; itemHit: INTEGER; theDialog: DialogPtr; yourDataPtr: Ptr; userRoutine: ExpDlgHookUPP): INTEGER;
  214.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  215.     INLINE $205F, $4E90;
  216.     {$ENDC}
  217.  
  218. CONST
  219.     ioHasFormat                    = 0;
  220.     ioReadFormat                = 1;
  221.     ioNewFormat                    = 2;
  222.     ioWriteFormat                = 3;
  223.  
  224.  
  225. TYPE
  226.     FormatIOVerb                        = SignedByte;
  227.  
  228. CONST
  229.     eoOpen                        = 0;
  230.     eoClose                        = 1;
  231.     eoOpenNew                    = 2;
  232.     eoCloseNew                    = 3;
  233.     eoCanSubscribe                = 4;
  234.  
  235.  
  236. TYPE
  237.     EditionOpenerVerb                    = SignedByte;
  238.     FormatIOParamBlockPtr = ^FormatIOParamBlock;
  239.     FormatIOParamBlock = RECORD
  240.         ioRefNum:                LONGINT;
  241.         format:                    FormatType;
  242.         formatIndex:            LONGINT;
  243.         offset:                    UInt32;
  244.         buffPtr:                Ptr;
  245.         buffLen:                UInt32;
  246.     END;
  247.  
  248.     EditionOpenerParamBlockPtr = ^EditionOpenerParamBlock;
  249. {$IFC TYPED_FUNCTION_POINTERS}
  250.     FormatIOProcPtr = FUNCTION(selector: FormatIOVerb; VAR PB: FormatIOParamBlock): INTEGER;
  251. {$ELSEC}
  252.     FormatIOProcPtr = ProcPtr;
  253. {$ENDC}
  254.  
  255. {$IFC TYPED_FUNCTION_POINTERS}
  256.     EditionOpenerProcPtr = FUNCTION(selector: EditionOpenerVerb; VAR PB: EditionOpenerParamBlock): INTEGER;
  257. {$ELSEC}
  258.     EditionOpenerProcPtr = ProcPtr;
  259. {$ENDC}
  260.  
  261.     FormatIOUPP = UniversalProcPtr;
  262.     EditionOpenerUPP = UniversalProcPtr;
  263.     EditionOpenerParamBlock = RECORD
  264.         info:                    EditionInfoRecord;
  265.         sectionH:                SectionHandle;
  266.         document:                FSSpecPtr;
  267.         fdCreator:                OSType;
  268.         ioRefNum:                LONGINT;
  269.         ioProc:                    FormatIOUPP;
  270.         success:                BOOLEAN;
  271.         formatsMask:            SignedByte;
  272.     END;
  273.  
  274.  
  275. CONST
  276.     uppFormatIOProcInfo = $00000360;
  277.     uppEditionOpenerProcInfo = $00000360;
  278.  
  279. FUNCTION NewFormatIOProc(userRoutine: FormatIOProcPtr): FormatIOUPP;
  280.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  281.     INLINE $2E9F;
  282.     {$ENDC}
  283.  
  284. FUNCTION NewEditionOpenerProc(userRoutine: EditionOpenerProcPtr): EditionOpenerUPP;
  285.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  286.     INLINE $2E9F;
  287.     {$ENDC}
  288.  Section events now arrive in the message buffer using the AppleEvent format.
  289.  The direct object parameter is an aeTemporaryIDParamType ('tid '). The temporary
  290.  ID's type is rSectionType ('sect') and the 32-bit value is a SectionHandle.
  291.  The following is a sample buffer
  292.  
  293.  name       offset     contents
  294.  ----       ------     --------
  295.  header           0      'aevt'
  296.  majorVersion     4      0x01
  297.  minorVersion     6      0x01
  298.  endOfMetaData     8      ';;;;' 
  299.  directObjKey     12  '----' 
  300.  paramType      16  'tid ' 
  301.  paramLength      20  0x0008 
  302.  tempIDType      24  'sect' 
  303.  tempID            28  the SectionHandle <-- this is want you want
  304. }
  305.  
  306.  
  307. CONST
  308.     sectionEventMsgClass        = 'sect';
  309.     sectionReadMsgID            = 'read';
  310.     sectionWriteMsgID            = 'writ';
  311.     sectionScrollMsgID            = 'scrl';
  312.     sectionCancelMsgID            = 'cncl';
  313.  
  314.     currentEditionMgrVers        = $0011;
  315.  
  316.  
  317.  
  318. { Use InitEditionPackVersion(currentEditionMgrVers) instead of InitEditionPack }
  319. FUNCTION InitEditionPackVersion(curEditionMgrVers: INTEGER): OSErr;
  320.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  321.     INLINE $303C, $0100, $A82D;
  322.     {$ENDC}
  323. FUNCTION NewSection({CONST}VAR container: EditionContainerSpec; sectionDocument: ConstFSSpecPtr; kind: SectionType; sectionID: LONGINT; initalMode: UpdateMode; VAR sectionH: SectionHandle): OSErr;
  324.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  325.     INLINE $303C, $0A02, $A82D;
  326.     {$ENDC}
  327. FUNCTION RegisterSection({CONST}VAR sectionDocument: FSSpec; sectionH: SectionHandle; VAR aliasWasUpdated: BOOLEAN): OSErr;
  328.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  329.     INLINE $303C, $0604, $A82D;
  330.     {$ENDC}
  331. FUNCTION UnRegisterSection(sectionH: SectionHandle): OSErr;
  332.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  333.     INLINE $303C, $0206, $A82D;
  334.     {$ENDC}
  335. FUNCTION IsRegisteredSection(sectionH: SectionHandle): OSErr;
  336.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  337.     INLINE $303C, $0208, $A82D;
  338.     {$ENDC}
  339. FUNCTION AssociateSection(sectionH: SectionHandle; {CONST}VAR newSectionDocument: FSSpec): OSErr;
  340.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  341.     INLINE $303C, $040C, $A82D;
  342.     {$ENDC}
  343. FUNCTION CreateEditionContainerFile({CONST}VAR editionFile: FSSpec; fdCreator: OSType; editionFileNameScript: ScriptCode): OSErr;
  344.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  345.     INLINE $303C, $050E, $A82D;
  346.     {$ENDC}
  347. FUNCTION DeleteEditionContainerFile({CONST}VAR editionFile: FSSpec): OSErr;
  348.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  349.     INLINE $303C, $0210, $A82D;
  350.     {$ENDC}
  351. FUNCTION OpenEdition(subscriberSectionH: SectionHandle; VAR refNum: EditionRefNum): OSErr;
  352.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  353.     INLINE $303C, $0412, $A82D;
  354.     {$ENDC}
  355. FUNCTION OpenNewEdition(publisherSectionH: SectionHandle; fdCreator: OSType; publisherSectionDocument: ConstFSSpecPtr; VAR refNum: EditionRefNum): OSErr;
  356.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  357.     INLINE $303C, $0814, $A82D;
  358.     {$ENDC}
  359. FUNCTION CloseEdition(whichEdition: EditionRefNum; successful: BOOLEAN): OSErr;
  360.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  361.     INLINE $303C, $0316, $A82D;
  362.     {$ENDC}
  363. FUNCTION EditionHasFormat(whichEdition: EditionRefNum; whichFormat: FormatType; VAR formatSize: Size): OSErr;
  364.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  365.     INLINE $303C, $0618, $A82D;
  366.     {$ENDC}
  367. FUNCTION ReadEdition(whichEdition: EditionRefNum; whichFormat: FormatType; buffPtr: UNIV Ptr; VAR buffLen: Size): OSErr;
  368.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  369.     INLINE $303C, $081A, $A82D;
  370.     {$ENDC}
  371. FUNCTION WriteEdition(whichEdition: EditionRefNum; whichFormat: FormatType; buffPtr: UNIV Ptr; buffLen: Size): OSErr;
  372.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  373.     INLINE $303C, $081C, $A82D;
  374.     {$ENDC}
  375. FUNCTION GetEditionFormatMark(whichEdition: EditionRefNum; whichFormat: FormatType; VAR currentMark: UInt32): OSErr;
  376.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  377.     INLINE $303C, $061E, $A82D;
  378.     {$ENDC}
  379. FUNCTION SetEditionFormatMark(whichEdition: EditionRefNum; whichFormat: FormatType; setMarkTo: UInt32): OSErr;
  380.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  381.     INLINE $303C, $0620, $A82D;
  382.     {$ENDC}
  383. FUNCTION GetEditionInfo(sectionH: SectionHandle; VAR editionInfo: EditionInfoRecord): OSErr;
  384.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  385.     INLINE $303C, $0422, $A82D;
  386.     {$ENDC}
  387. FUNCTION GoToPublisherSection({CONST}VAR container: EditionContainerSpec): OSErr;
  388.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  389.     INLINE $303C, $0224, $A82D;
  390.     {$ENDC}
  391. FUNCTION GetLastEditionContainerUsed(VAR container: EditionContainerSpec): OSErr;
  392.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  393.     INLINE $303C, $0226, $A82D;
  394.     {$ENDC}
  395. FUNCTION GetStandardFormats({CONST}VAR container: EditionContainerSpec; VAR previewFormat: FormatType; preview: Handle; publisherAlias: Handle; formats: Handle): OSErr;
  396.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  397.     INLINE $303C, $0A28, $A82D;
  398.     {$ENDC}
  399. FUNCTION GetEditionOpenerProc(VAR opener: EditionOpenerUPP): OSErr;
  400.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  401.     INLINE $303C, $022A, $A82D;
  402.     {$ENDC}
  403. FUNCTION SetEditionOpenerProc(opener: EditionOpenerUPP): OSErr;
  404.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  405.     INLINE $303C, $022C, $A82D;
  406.     {$ENDC}
  407. FUNCTION CallEditionOpenerProc(selector: EditionOpenerVerb; VAR PB: EditionOpenerParamBlock; routine: EditionOpenerUPP): OSErr;
  408.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  409.     INLINE $303C, $052E, $A82D;
  410.     {$ENDC}
  411. FUNCTION CallFormatIOProc(selector: FormatIOVerb; VAR PB: FormatIOParamBlock; routine: FormatIOUPP): OSErr;
  412.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  413.     INLINE $303C, $0530, $A82D;
  414.     {$ENDC}
  415. FUNCTION NewSubscriberDialog(VAR reply: NewSubscriberReply): OSErr;
  416.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  417.     INLINE $303C, $0232, $A82D;
  418.     {$ENDC}
  419. FUNCTION NewSubscriberExpDialog(VAR reply: NewSubscriberReply; where: Point; expansionDITLresID: INTEGER; dlgHook: ExpDlgHookUPP; filter: ExpModalFilterUPP; yourDataPtr: UNIV Ptr): OSErr;
  420.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  421.     INLINE $303C, $0B34, $A82D;
  422.     {$ENDC}
  423. FUNCTION NewPublisherDialog(VAR reply: NewPublisherReply): OSErr;
  424.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  425.     INLINE $303C, $0236, $A82D;
  426.     {$ENDC}
  427. FUNCTION NewPublisherExpDialog(VAR reply: NewPublisherReply; where: Point; expansionDITLresID: INTEGER; dlgHook: ExpDlgHookUPP; filter: ExpModalFilterUPP; yourDataPtr: UNIV Ptr): OSErr;
  428.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  429.     INLINE $303C, $0B38, $A82D;
  430.     {$ENDC}
  431. FUNCTION SectionOptionsDialog(VAR reply: SectionOptionsReply): OSErr;
  432.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  433.     INLINE $303C, $023A, $A82D;
  434.     {$ENDC}
  435. FUNCTION SectionOptionsExpDialog(VAR reply: SectionOptionsReply; where: Point; expansionDITLresID: INTEGER; dlgHook: ExpDlgHookUPP; filter: ExpModalFilterUPP; yourDataPtr: UNIV Ptr): OSErr;
  436.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  437.     INLINE $303C, $0B3C, $A82D;
  438.     {$ENDC}
  439. {$ALIGN RESET}
  440. {$POP}
  441.  
  442. {$SETC UsingIncludes := EditionsIncludes}
  443.  
  444. {$ENDC} {__EDITIONS__}
  445.  
  446. {$IFC NOT UsingIncludes}
  447.  END.
  448. {$ENDC}
  449.